<?php

class Menus extends MY_Controller
{
    public function __construct()
    {
        parent::__construct();
        $this->load->service('Service_menus');
    }

    public function left()
    {
        $list = $this->Service_menus->getList('left');
        json($list);
    }

    public function right()
    {
        $list = $this->Service_menus->getList('right');
        json($list);
    }
}
